Skip to content

Added automatic nREPL startup for Windows#55

Merged
avli merged 4 commits intoavli:masterfrom
fachammer:master
Aug 1, 2017
Merged

Added automatic nREPL startup for Windows#55
avli merged 4 commits intoavli:masterfrom
fachammer:master

Conversation

@fachammer
Copy link
Copy Markdown
Contributor

Previously, when opening a .clj file on Windows the nREPL server would not be started automatically because it would throw an error when spawning the lein process.

Apparently spawn behaves a bit differently on Windows. Using the cross-spawn modules gets rid of some of the problems.

However, I also had to remove the detached option for the spawn to work on Windows. Is there a particular reason for having it set to true at all? I tested it on a Fedora-VM and it seemed to work fine without detached being set to true.

@avli
Copy link
Copy Markdown
Owner

avli commented Aug 1, 2017

Thank you very much!

@avli avli merged commit 22fba08 into avli:master Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants